from base import Base
from selenium.webdriver.common.by import By

class Page1(Base):
    def testone(self):
        logc=(By.ID,'com.kongfz.app:id/lav_5')
        ele=self.find_ele(logc)
        return ele
    def testname(self):
        logc=(By.XPATH,'//android.widget.EditText[@resource-id="com.kongfz.app:id/et_login_name"]')
        ele=self.find_ele(logc)
        return ele
    def testpwd(self):
        logc=(By.XPATH,'//android.widget.EditText[@resource-id="com.kongfz.app:id/et_pwd"]')
        ele=self.find_ele(logc)
        return ele
    def testbtn(self):
        logc=(By.XPATH,'//android.widget.TextView[@resource-id="com.kongfz.app:id/iconf_privacy"]')
        ele=self.find_ele(logc)
        return ele
    def testlogin(self):
        logc=(By.XPATH,'//android.widget.TextView[@resource-id="com.kongfz.app:id/tv_confirm_btn"]')
        ele=self.find_ele(logc)
        return ele